package ruifight.member.model;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ClassifyInfoExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public ClassifyInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andClassifyInfoIdIsNull() {
            addCriterion("classifyInfoId is null");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdIsNotNull() {
            addCriterion("classifyInfoId is not null");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdEqualTo(Long value) {
            addCriterion("classifyInfoId =", value, "classifyInfoId");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdNotEqualTo(Long value) {
            addCriterion("classifyInfoId <>", value, "classifyInfoId");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdGreaterThan(Long value) {
            addCriterion("classifyInfoId >", value, "classifyInfoId");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdGreaterThanOrEqualTo(Long value) {
            addCriterion("classifyInfoId >=", value, "classifyInfoId");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdLessThan(Long value) {
            addCriterion("classifyInfoId <", value, "classifyInfoId");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdLessThanOrEqualTo(Long value) {
            addCriterion("classifyInfoId <=", value, "classifyInfoId");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdIn(List<Long> values) {
            addCriterion("classifyInfoId in", values, "classifyInfoId");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdNotIn(List<Long> values) {
            addCriterion("classifyInfoId not in", values, "classifyInfoId");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdBetween(Long value1, Long value2) {
            addCriterion("classifyInfoId between", value1, value2, "classifyInfoId");
            return (Criteria) this;
        }

        public Criteria andClassifyInfoIdNotBetween(Long value1, Long value2) {
            addCriterion("classifyInfoId not between", value1, value2, "classifyInfoId");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeIsNull() {
            addCriterion("classifyType is null");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeIsNotNull() {
            addCriterion("classifyType is not null");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeEqualTo(Integer value) {
            addCriterion("classifyType =", value, "classifyType");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeNotEqualTo(Integer value) {
            addCriterion("classifyType <>", value, "classifyType");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeGreaterThan(Integer value) {
            addCriterion("classifyType >", value, "classifyType");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("classifyType >=", value, "classifyType");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeLessThan(Integer value) {
            addCriterion("classifyType <", value, "classifyType");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeLessThanOrEqualTo(Integer value) {
            addCriterion("classifyType <=", value, "classifyType");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeIn(List<Integer> values) {
            addCriterion("classifyType in", values, "classifyType");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeNotIn(List<Integer> values) {
            addCriterion("classifyType not in", values, "classifyType");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeBetween(Integer value1, Integer value2) {
            addCriterion("classifyType between", value1, value2, "classifyType");
            return (Criteria) this;
        }

        public Criteria andClassifyTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("classifyType not between", value1, value2, "classifyType");
            return (Criteria) this;
        }

        public Criteria andClassifyNameIsNull() {
            addCriterion("classifyName is null");
            return (Criteria) this;
        }

        public Criteria andClassifyNameIsNotNull() {
            addCriterion("classifyName is not null");
            return (Criteria) this;
        }

        public Criteria andClassifyNameEqualTo(String value) {
            addCriterion("classifyName =", value, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameNotEqualTo(String value) {
            addCriterion("classifyName <>", value, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameGreaterThan(String value) {
            addCriterion("classifyName >", value, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameGreaterThanOrEqualTo(String value) {
            addCriterion("classifyName >=", value, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameLessThan(String value) {
            addCriterion("classifyName <", value, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameLessThanOrEqualTo(String value) {
            addCriterion("classifyName <=", value, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameLike(String value) {
            addCriterion("classifyName like", value, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameNotLike(String value) {
            addCriterion("classifyName not like", value, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameIn(List<String> values) {
            addCriterion("classifyName in", values, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameNotIn(List<String> values) {
            addCriterion("classifyName not in", values, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameBetween(String value1, String value2) {
            addCriterion("classifyName between", value1, value2, "classifyName");
            return (Criteria) this;
        }

        public Criteria andClassifyNameNotBetween(String value1, String value2) {
            addCriterion("classifyName not between", value1, value2, "classifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdIsNull() {
            addCriterion("parentClassifyInfoId is null");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdIsNotNull() {
            addCriterion("parentClassifyInfoId is not null");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdEqualTo(Long value) {
            addCriterion("parentClassifyInfoId =", value, "parentClassifyInfoId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdNotEqualTo(Long value) {
            addCriterion("parentClassifyInfoId <>", value, "parentClassifyInfoId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdGreaterThan(Long value) {
            addCriterion("parentClassifyInfoId >", value, "parentClassifyInfoId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdGreaterThanOrEqualTo(Long value) {
            addCriterion("parentClassifyInfoId >=", value, "parentClassifyInfoId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdLessThan(Long value) {
            addCriterion("parentClassifyInfoId <", value, "parentClassifyInfoId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdLessThanOrEqualTo(Long value) {
            addCriterion("parentClassifyInfoId <=", value, "parentClassifyInfoId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdIn(List<Long> values) {
            addCriterion("parentClassifyInfoId in", values, "parentClassifyInfoId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdNotIn(List<Long> values) {
            addCriterion("parentClassifyInfoId not in", values, "parentClassifyInfoId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdBetween(Long value1, Long value2) {
            addCriterion("parentClassifyInfoId between", value1, value2, "parentClassifyInfoId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyInfoIdNotBetween(Long value1, Long value2) {
            addCriterion("parentClassifyInfoId not between", value1, value2, "parentClassifyInfoId");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameIsNull() {
            addCriterion("parentClassifyName is null");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameIsNotNull() {
            addCriterion("parentClassifyName is not null");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameEqualTo(String value) {
            addCriterion("parentClassifyName =", value, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameNotEqualTo(String value) {
            addCriterion("parentClassifyName <>", value, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameGreaterThan(String value) {
            addCriterion("parentClassifyName >", value, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameGreaterThanOrEqualTo(String value) {
            addCriterion("parentClassifyName >=", value, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameLessThan(String value) {
            addCriterion("parentClassifyName <", value, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameLessThanOrEqualTo(String value) {
            addCriterion("parentClassifyName <=", value, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameLike(String value) {
            addCriterion("parentClassifyName like", value, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameNotLike(String value) {
            addCriterion("parentClassifyName not like", value, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameIn(List<String> values) {
            addCriterion("parentClassifyName in", values, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameNotIn(List<String> values) {
            addCriterion("parentClassifyName not in", values, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameBetween(String value1, String value2) {
            addCriterion("parentClassifyName between", value1, value2, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andParentClassifyNameNotBetween(String value1, String value2) {
            addCriterion("parentClassifyName not between", value1, value2, "parentClassifyName");
            return (Criteria) this;
        }

        public Criteria andAttr1IsNull() {
            addCriterion("attr1 is null");
            return (Criteria) this;
        }

        public Criteria andAttr1IsNotNull() {
            addCriterion("attr1 is not null");
            return (Criteria) this;
        }

        public Criteria andAttr1EqualTo(String value) {
            addCriterion("attr1 =", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotEqualTo(String value) {
            addCriterion("attr1 <>", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1GreaterThan(String value) {
            addCriterion("attr1 >", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1GreaterThanOrEqualTo(String value) {
            addCriterion("attr1 >=", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1LessThan(String value) {
            addCriterion("attr1 <", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1LessThanOrEqualTo(String value) {
            addCriterion("attr1 <=", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1Like(String value) {
            addCriterion("attr1 like", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotLike(String value) {
            addCriterion("attr1 not like", value, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1In(List<String> values) {
            addCriterion("attr1 in", values, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotIn(List<String> values) {
            addCriterion("attr1 not in", values, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1Between(String value1, String value2) {
            addCriterion("attr1 between", value1, value2, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr1NotBetween(String value1, String value2) {
            addCriterion("attr1 not between", value1, value2, "attr1");
            return (Criteria) this;
        }

        public Criteria andAttr2IsNull() {
            addCriterion("attr2 is null");
            return (Criteria) this;
        }

        public Criteria andAttr2IsNotNull() {
            addCriterion("attr2 is not null");
            return (Criteria) this;
        }

        public Criteria andAttr2EqualTo(String value) {
            addCriterion("attr2 =", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotEqualTo(String value) {
            addCriterion("attr2 <>", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2GreaterThan(String value) {
            addCriterion("attr2 >", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2GreaterThanOrEqualTo(String value) {
            addCriterion("attr2 >=", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2LessThan(String value) {
            addCriterion("attr2 <", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2LessThanOrEqualTo(String value) {
            addCriterion("attr2 <=", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2Like(String value) {
            addCriterion("attr2 like", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotLike(String value) {
            addCriterion("attr2 not like", value, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2In(List<String> values) {
            addCriterion("attr2 in", values, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotIn(List<String> values) {
            addCriterion("attr2 not in", values, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2Between(String value1, String value2) {
            addCriterion("attr2 between", value1, value2, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr2NotBetween(String value1, String value2) {
            addCriterion("attr2 not between", value1, value2, "attr2");
            return (Criteria) this;
        }

        public Criteria andAttr3IsNull() {
            addCriterion("attr3 is null");
            return (Criteria) this;
        }

        public Criteria andAttr3IsNotNull() {
            addCriterion("attr3 is not null");
            return (Criteria) this;
        }

        public Criteria andAttr3EqualTo(String value) {
            addCriterion("attr3 =", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotEqualTo(String value) {
            addCriterion("attr3 <>", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3GreaterThan(String value) {
            addCriterion("attr3 >", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3GreaterThanOrEqualTo(String value) {
            addCriterion("attr3 >=", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3LessThan(String value) {
            addCriterion("attr3 <", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3LessThanOrEqualTo(String value) {
            addCriterion("attr3 <=", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3Like(String value) {
            addCriterion("attr3 like", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotLike(String value) {
            addCriterion("attr3 not like", value, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3In(List<String> values) {
            addCriterion("attr3 in", values, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotIn(List<String> values) {
            addCriterion("attr3 not in", values, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3Between(String value1, String value2) {
            addCriterion("attr3 between", value1, value2, "attr3");
            return (Criteria) this;
        }

        public Criteria andAttr3NotBetween(String value1, String value2) {
            addCriterion("attr3 not between", value1, value2, "attr3");
            return (Criteria) this;
        }

        public Criteria andClassifyStateIsNull() {
            addCriterion("classifyState is null");
            return (Criteria) this;
        }

        public Criteria andClassifyStateIsNotNull() {
            addCriterion("classifyState is not null");
            return (Criteria) this;
        }

        public Criteria andClassifyStateEqualTo(Integer value) {
            addCriterion("classifyState =", value, "classifyState");
            return (Criteria) this;
        }

        public Criteria andClassifyStateNotEqualTo(Integer value) {
            addCriterion("classifyState <>", value, "classifyState");
            return (Criteria) this;
        }

        public Criteria andClassifyStateGreaterThan(Integer value) {
            addCriterion("classifyState >", value, "classifyState");
            return (Criteria) this;
        }

        public Criteria andClassifyStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("classifyState >=", value, "classifyState");
            return (Criteria) this;
        }

        public Criteria andClassifyStateLessThan(Integer value) {
            addCriterion("classifyState <", value, "classifyState");
            return (Criteria) this;
        }

        public Criteria andClassifyStateLessThanOrEqualTo(Integer value) {
            addCriterion("classifyState <=", value, "classifyState");
            return (Criteria) this;
        }

        public Criteria andClassifyStateIn(List<Integer> values) {
            addCriterion("classifyState in", values, "classifyState");
            return (Criteria) this;
        }

        public Criteria andClassifyStateNotIn(List<Integer> values) {
            addCriterion("classifyState not in", values, "classifyState");
            return (Criteria) this;
        }

        public Criteria andClassifyStateBetween(Integer value1, Integer value2) {
            addCriterion("classifyState between", value1, value2, "classifyState");
            return (Criteria) this;
        }

        public Criteria andClassifyStateNotBetween(Integer value1, Integer value2) {
            addCriterion("classifyState not between", value1, value2, "classifyState");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNull() {
            addCriterion("createDate is null");
            return (Criteria) this;
        }

        public Criteria andCreateDateIsNotNull() {
            addCriterion("createDate is not null");
            return (Criteria) this;
        }

        public Criteria andCreateDateEqualTo(Date value) {
            addCriterion("createDate =", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotEqualTo(Date value) {
            addCriterion("createDate <>", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThan(Date value) {
            addCriterion("createDate >", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("createDate >=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThan(Date value) {
            addCriterion("createDate <", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateLessThanOrEqualTo(Date value) {
            addCriterion("createDate <=", value, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateIn(List<Date> values) {
            addCriterion("createDate in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotIn(List<Date> values) {
            addCriterion("createDate not in", values, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateBetween(Date value1, Date value2) {
            addCriterion("createDate between", value1, value2, "createDate");
            return (Criteria) this;
        }

        public Criteria andCreateDateNotBetween(Date value1, Date value2) {
            addCriterion("createDate not between", value1, value2, "createDate");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}